<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header">

	<!--文本编辑框①-->
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="shortcut icon" href="favicon.ico"> <link href="../static/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
	<link href="../static/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
	<link href="../static/css/animate.min.css" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="../static/css/plugins/simditor/simditor.css" />
	<link href="../static/css/style.min862f.css?v=4.1.0" rel="stylesheet">

</head>



<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-politics-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">政策标题：</label>
				<div class="col-sm-8">
					<input id="title" name="title" class="form-control" type="text">
				</div>
			</div>
			<!--<div class="form-group">-->
				<!--<label class="col-sm-3 control-label">政策类型：</label>-->
				<!--<div class="col-sm-8">-->
					<input id="type" name="type" value="政策" class="form-control" type="hidden">
			<!--	</div>
			</div>-->
			<div class="form-group">
				<label class="col-sm-3 control-label">政策内容：</label>
				<div class="col-sm-8">
					<input id="content" name="content" class="form-control" type="text">
				</div>
			</div>
			<!--<div class="form-group">
				<label class="col-sm-3 control-label">添加时间：</label>
				<div class="col-sm-8">
					<input id="adddate" name="adddate" class="form-control" type="text">
				</div>
			</div>-->
			<div class="form-group">	
				<label class="col-sm-3 control-label">是否有效：</label>
				<div class="col-sm-8">
					<!--<input id="remark" name="remark" class="form-control" type="text">-->

					<select class="chosen-select form-control" name="remark" id="remark">
						<option value=1>是</option>
						<option value=0>否</option>
					</select>
				</div>
			</div>


			<!--<div class="wrapper wrapper-content">-->
				<!--<div class="row">-->
					<!--<div class="col-sm-6">-->
						<!--<div class="ibox float-e-margins">-->
							<!--<div class="ibox-content">-->
                        <!--<textarea id="editor" placeholder="这里输入内容" autofocus>-->
                            <!--<p>Simditor 是团队协作工具 <a href="http://tower.im/" target="_blank">Tower</a> 使用的富文本编辑器。</p>-->
                            <!--<p>相比传统的编辑器它的特点是：</p>-->
                            <!--<ul>-->
                                <!--<li>功能精简，加载快速</li>-->
                                <!--<li>输出格式化的标准 HTML</li>-->
                                <!--<li>每一个功能都有非常优秀的使用体验</li>-->
                            <!--</ul>-->
                            <!--<p>兼容的浏览器：IE10+、Chrome、Firefox、Safari。</p>-->
                        <!--</textarea>-->
							<!--</div>-->
						<!--</div>-->
					<!--</div>-->
				<!--</div>-->
			<!--</div>-->

		</form>
	</div>
    <div th:include="include::footer"></div>

	<script src="../static/js/jquery.min.js?v=2.1.4"></script>
	<script src="../static/js/bootstrap.min.js?v=3.3.6"></script>
	<script src="../static/js/content.min.js?v=1.0.0"></script>
	<script type="text/javascript" src="../static/js/plugins/simditor/module.js"></script>
	<script type="text/javascript" src="../static/js/plugins/simditor/uploader.js"></script>
	<script type="text/javascript" src="../static/js/plugins/simditor/hotkeys.js"></script>
	<script type="text/javascript" src="../static/js/plugins/simditor/simditor.js"></script>
	<script>
		$(document).ready(function(){var editor=new Simditor({textarea:$("#editor"),defaultImage:"img/a9.jpg"})});
	</script>
	<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>

    <script type="text/javascript">
		var prefix = ctx + "village/politics"
		$("#form-Politics-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-politics-add').serialize());
	        }
	    }
	</script>

</body>
</html>
